/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.equipment.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 应用管理Entity
 * @author ZC
 * @version 2017-05-10
 */
public class EleApplication extends DataEntity<EleApplication> {
	
	private static final long serialVersionUID = 1L;
	private String code;		// 版本编号
	private String version;		// 版本号
	private String path;		// app上传
	
	public EleApplication() {
		super();
	}

	public EleApplication(String id){
		super(id);
	}

	@Length(min=0, max=50, message="版本编号长度必须介于 0 和 50 之间")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@Length(min=0, max=100, message="版本号长度必须介于 0 和 100 之间")
	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}
	
	@Length(min=0, max=255, message="app上传长度必须介于 0 和 255 之间")
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}
	
}